package xyz.flowlight.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import xyz.flowlight.domain.entity.LikeRecord;
import xyz.flowlight.domain.response.ResponseResult;

@Service
public interface LikeService extends IService<LikeRecord> {
    ResponseResult<Boolean> toggleLike(Integer userId, Integer productId);

    ResponseResult<Boolean> isLiked( Integer userId, Integer productId);
}
